﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 商家公告表
    /// </summary>
    [Table("ShangJiaGongGao")]
    public class Model_ShangJiaGongGao:Model_Base
    {
        /// <summary>
        /// 公告编号
        /// </summary>
        [Column("ID")]
        [Required]
        [Key]
        public string ID { get; set; }
        /// <summary>
        /// 所属商家
        /// </summary>
        public string ShangJiaID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 公告内容
        /// </summary>
        [Required]
        public string Content { get; set; }
        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime? YouXiaoQi { get; set; }
    }
}
